using System.Threading.Tasks;
using MinimalistFoodStreet.BackEnd.Infrastructure.Attributes;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Tables;
using MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Response;

namespace MinimalistFoodStreet.BackEnd.Server.IServer.Tables 
{
    [ProvideClassOrInterface]
    public interface IPromotionsService
    {
        Task<ResponseApiDto> AddAsync(RequestCreatePromotionsDto dto,int sid);
        Task<ResponseApiDto> UpdateAsync(RequestUpdatePromotionsDto dto);
        Task<ResponseApiDto> DeleteAsync(RequestIdPromotionsDto dto);
        Task<ResponseApiDto> DetailAsync(RequestIdPromotionsDto dto);
        Task<ResponseApiDto> PaginationAsync(int page, int limit, string? key);
    }
}